CygNet Measurement > FMS Explorer > Commands Menu > Managing Node Commands > Request Missing Data

Configuring Request Missing Data Commands

For each eligible device the Request Missing Data command resolves to, the service will request the device data it determines is missing within the specified time range.

See FMS Commands and Request Missing Data for more information about this command.

See Scheduling FMS Command Tasks in the MSS for more information about scheduling commands.

See FMS ActiveX Controls and CxHmiFms for more information about using commands via FMS ActiveX controls on CygNet Studio or CygNet Vision screens.

See CxFms for more information about scripting commands.

See Retrieving Event and Alarm Data in CygNet Measurement for a special note about retrieving event and alarm data.

Configuring a Request Missing Data Command

To Configure a Request Missing Data Command

  1. Open the Command menu in FMS Explorer.
  2. Click Manage to access the FMS Command Definitions dialog box and then click Add to access the Create New FMS Command Definition dialog box.

    Create New FMS Command Definition

  3. Define the command definition properties.
  1. Type a Name for the command into the text box. Maximum character count is 50.
  2. Select the Command type from the drop-down menu.
  3. Select a processing Priority from the drop-down menu.
  4. Select a Logging level from the drop-down menu.
  5. Click to select/clear the check box to Prompt when command runs.
  1. Define the command parameters. The parameters for a Request Missing Data command are described in the Command parameters box, which includes the Description, a Required indicator, and a configurable Value field. Set the value for each required and each desired optional parameter, as indicated in its Value field.
  1. Click Create New. The new command will appear in the list of FMS Command Definitions.

Command Definition Properties

The following command definition properties apply to Request Missing Data commands.

Property Description

Name

Type in a Name for the new command.

Command type

Select the desired Command type from the drop-down menu.

See FMS Commands for more information about available command types.

Priority

Select a processing queue Priority for the command from the drop-down menu.

Options from least to greatest priority are as follows.

  • Low level
  • Medium level
  • High level
  • User initiated transaction
  • Admin initiated transaction

Default value is Low level processing queue priority.

Logging

Select a Logging level for the command results from the drop-down menu.

Options are as follows.

  • Low - displays errors
  • Medium - displays errors and warnings
  • High - displays errors, warnings, and status

Default value is Low level logging when scheduling a command in the MSS.

Default value is High level logging when creating or running an ad-hoc command in FMS Explorer.

Prompt when command runs

Click to select/clear the check box to Prompt when command runs. Selecting this option means you will receive a prompt asking if you want to modify the parameters before the command is executed.

Back to top

Command Parameters

The following command parameters apply to Request Missing Data commands when creating or editing commands via FMS Explorer.

Description Value

Date format

Select the desired date format from the drop-down menu.

Options are as follows.

  • Device
  • Contract
  • Local

Default value is Device time.

Start date/time

The beginning of the time range for which to request missing data

Click ... to access the Select Date and Time dialog box. See Selecting Date and Time for more information.

See Note below this table.

This parameter is required.

End date/time

The end of the time range for which to request missing data

Click ... to access the Select Date and Time dialog box. See Selecting Date and Time for more information.

See Note below this table.

This parameter is required.

Get periodic metering history

If set and configured in the device properties, will request the periodic metering history records within the time range

Options are Yes or No.

This parameter is optional. Default value is Yes.

Get periodic quality history

If set and configured in the device properties, will request the periodic quality history records within the time range

Options are Yes or No.

This parameter is optional. Default value is Yes.

Get events history

If set and configured in the device properties, will request the event records within the time range

Options are Yes or No.

This parameter is optional. Default value is Yes.

Get alarms history

If set and configured in the device properties, will request the alarm records within the time range

Options are Yes or No.

This parameter is optional. Default value is Yes.

Maximum history record count

If used, type the maximum number of missing history records to be returned by the device.

The number "x" entered will set the maximum number of missing historical records that will be returned for each history type: "x" GMHist, "x" GQHist, "x" Events, and "x" Alarms records.

This parameter is optional.

Poll data flagged as unavailable

If used, the request will include unavailable data. By default, unavailable data is not considered missing.

Options are Yes or No.

This parameter is optional.

Previous request timeout (hours)

If used, type the number of hours before which the request will timeout if it hasn't been completed by the UIS. Each device is only allowed a single outstanding poll (per type) at a time.

This parameter is optional.

Note: When using relative (rather than absolute) date/time, if both the start and end date/time have hour, minute, and second values of 00, or if both are set to midnight, an additional day will be added to the date at the end of the range. This occurs because the service assumes the start of the day for the starting date/time and the end of the day for the ending date/time in these circumstances. Therefore requesting a time range from T to T will yield one day of data, and from T-1 to T will yield two days of data. If only one day of data is desired when using relative date/time, the start and end date/times must therefore be the same. If any of the start or end date/time hour, minute, or second values are specified as a value other than zero (or midnight) however, the range will be used as specified.

Editing or Deleting a Request Missing Data Command

See Managing Node Commands for information about editing or deleting this command.

Running a Request Missing Data Command

The missing time ranges and the requested data categories (PM History, PQ History, Alarms and/or Events) detected for the requested device are reported in the Command Logs if the Logging level is set to High.

Note: Requests can only be processed for dates occurring after the device installation date(s). Compare the device installation date(s) to the command Start and End dates before running a Request Missing Data command.

See Running Node Commands for information about running this command.

Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.